package xin.clips.system.service.gy;

import java.util.List;

import xin.clips.system.domain.gy.GyDeviceEarlywarnRecord;

/**
 * 设备预警记录Service接口
 *
 * @author clips
 * @date 2023-03-21
 */
public interface IGyDeviceEarlywarnRecordService
{
    /**
     * 查询设备预警记录
     *
     * @param earlyWarnId 设备预警记录主键
     * @return 设备预警记录
     */
    public GyDeviceEarlywarnRecord selectGyDeviceEarlywarnRecordByEarlyWarnId(Long earlyWarnId);

    /**
     * 查询设备预警记录列表
     *
     * @param gyDeviceEarlywarnRecord 设备预警记录
     * @return 设备预警记录集合
     */
    public List<GyDeviceEarlywarnRecord> selectGyDeviceEarlywarnRecordList(GyDeviceEarlywarnRecord gyDeviceEarlywarnRecord);

    /**
     * 新增设备预警记录
     *
     * @param gyDeviceEarlywarnRecord 设备预警记录
     * @return 结果
     */
    public int insertGyDeviceEarlywarnRecord(GyDeviceEarlywarnRecord gyDeviceEarlywarnRecord);

    /**
     * 修改设备预警记录
     *
     * @param gyDeviceEarlywarnRecord 设备预警记录
     * @return 结果
     */
    public int updateGyDeviceEarlywarnRecord(GyDeviceEarlywarnRecord gyDeviceEarlywarnRecord);

    /**
     * 批量删除设备预警记录
     *
     * @param earlyWarnIds 需要删除的设备预警记录主键集合
     * @return 结果
     */
    public int deleteGyDeviceEarlywarnRecordByEarlyWarnIds(String earlyWarnIds);

    /**
     * 删除设备预警记录信息
     *
     * @param earlyWarnId 设备预警记录主键
     * @return 结果
     */
    public int deleteGyDeviceEarlywarnRecordByEarlyWarnId(Long earlyWarnId);

    /**
     * 返回预警的总数
     *
     * @return 设备告警记录集合
     */
    public int selectTotal();

    /**
     * 查询设备预警记录列表
     *
     * @param gyDeviceEarlywarnRecord 设备预警记录
     * @return 设备预警记录集合
     */
    public List<GyDeviceEarlywarnRecord> selectGyDeviceEarlywarnRecordListLimit(GyDeviceEarlywarnRecord gyDeviceEarlywarnRecord);

    /**
     * 查询设备预警每日数据
     *
     * @param gyDeviceEarlywarnRecord 设备预警记录
     * @return 设备预警记录集合
     */
    public List<GyDeviceEarlywarnRecord> selectEarlyWarnDayAnalyByTime(GyDeviceEarlywarnRecord gyDeviceEarlywarnRecord);
}
